package com.bwda.dsrs.filecenter.domain.form.dbscanresult;

import com.bwda.dsrs.base.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
/**
 * @author Administrator
 */
@Data
@ApiModel(description = "敏感字段扫描结果表")
public class DbScanResultUpdateForm {

	@ApiModelProperty(value = "id", required = true)

	private Integer scanResultId;

	@ApiModelProperty(value = "数据库id")
	private Integer dbId;

	@ApiModelProperty(value = "数据库类型")
	private String dbType;

	@ApiModelProperty(value = "表注释")
	private String tableRemark;

	@ApiModelProperty(value = "表名")
	private String tableName;

	@ApiModelProperty(value = "列注释")
	private String columnRemark;

	@ApiModelProperty(value = "列名")
	private String columnName;

	@ApiModelProperty(value = "匹配到的标签敏感字段")
	private String wordIds;

	private String hisWordId1;
	private String hisWordId2;
	private String hisWordId3;
	private String p1;
	private String p2;
	private String p3;

	@ApiModelProperty(value = "本次扫描总次数")
	private Integer scanNums;

	@ApiModelProperty(value = "本次扫描匹配到的次数")
	private Integer matchNums;

	@ApiModelProperty(value = "创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createTime;

	@ApiModelProperty(value = "更新时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date updateTime;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "0未删除 1已删除")
	private Integer delFlag;

	@ApiModelProperty(value = "0重置 1准确 2 不准确")
	private Integer isApprove;

	@ApiModelProperty(value = "识别类型 默认0 1 人工")
	private Integer discernType;

	@ApiModelProperty(value = "批量操作数据ID")

	private Long[] scanResultIds;

}